using Gadfly, Dates

set_default_plot_size(6inch, 3inch)

dates = Array{Date}(undef, 40)
dates[1] = Date(2019,4,19)
for i=2:length(dates)
    dates[i] = today()+Day(i)
end

plot(x=dates,
     y=[0.316371, 0.814995, 2.06458, 3.07804, 3.11306, 3.42541, 4.47924, 7.12984, 7.43285, 8.37889, 8.43873, 9.44133, 10.0552, 10.0665, 11.1433, 11.1758, 11.2476, 11.5081, 12.5083, 13.8607, 16.9887, 17.4843, 18.2277, 18.534, 19.5445, 21.5212, 21.9593, 22.1282, 22.23, 25.6158, 25.7953, 30.0525, 30.9289, 33.9274, 34.3805, 34.9418, 38.0767, 39.0525, 39.4667, 39.9962],
     Geom.bar)
